package com.youlu.campus.entity.system;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

@Getter
@Setter
@Document(collection = "system_ip_limit")
public class SystemIpLimit extends EntityBase {
    @Indexed
    private String ip;
    private String desc;
    /**
     * 1:联通,2:移动,3:电信
     */
    private String operator;
    /**
     * 1,other:其他
     * 2,ddos:DDOS攻击
     * 3,hacker:黑客
     * 4,competitors:竞品
     * 5,government:政府
     * 6,special-areas:特殊区域
     * 7,emergency:紧急时间
     */
    private String type;
    /**
     * 操作人
     */
    private String optName;

    private String country="中国";
    /**
     * 详细地址
     */
    private String location;
    /**
     * 备注
     */
    private String comments;

}
